package emergency;

/**
 * Enum for keeping the severity Instead of working with int's, it's nicer to
 * work with an enum
 */
public enum Severity {
	BENIGN {
		public final int getNiveau() {
			return 1;
		}

		public String toString() {
			return "benign";
		}
	},
	NORMAL {
		public final int getNiveau() {
			return 2;
		}

		public String toString() {
			return "normal";
		}
	},
	SERIOUS {
		public final int getNiveau() {
			return 3;
		}

		public String toString() {
			return "serious";
		}
	},
	URGENT {
		public final int getNiveau() {
			return 4;
		}

		public String toString() {
			return "urgent";
		}
	};

	public abstract int getNiveau();

	public abstract String toString();
}